![]() |
![]() ![]() |
FieldSweeper component version 1.0
instance.mouseProximity
Property; number of pixels the mouse needs to be away from a particle mc's center point to trigger an event reaction. If this property is 0, the event will only be triggered if the mouse is inside the particle's shape or bounding box, depending on the value of the shapeFlag property.
The following code sets mouse proximity to 25 pixels.
myFieldSweeper.mouseProximity = 25;
![]() ![]() |
|