![]() |
![]() ![]() |
FieldSweeper component version 1.0
instance.crossReaction
Property; the way in which a particle reacts when it is crossed by the mouse or a sweeper. The default value is play, which plays the timeline of the particle. If this property is set to anything other than play, the callback function particleCrossed() is called on the particle, in which a custom reactin can be coded.
The following code sets crossReaction to let it use the custom callback.
myFieldSweeper.crossReaction = "";
![]() ![]() |
|