![]() |
![]() |
FieldSweeper component version 1.0
instance.sweepers
Property; an array of DisplayObjects that set off the reactions of each particle when crossing over it. Use this property to manually set sweeper objects in code, or use the sweeperInstanceNames property to set the names of sweeper objects already on the stage.
The following code sets the sweepers.
myFieldSweeper.sweepers = [getChildByName("sweeper1"), getChildByName("sweeper2")];
![]() |
|