FieldSweeper.mouseProximity

Availability

FieldSweeper component version 1.0

Usage

instance.mouseProximity

Description

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.

Example

The following code sets mouse proximity to 25 pixels.

myFieldSweeper.mouseProximity = 25;