Is Within
Switch properties based on whether a shape's position falls within another.
Within Shape - connect a shape to be used as the boundary for other shapes to fall within.
Example usage:
Create 2 Polygons.
Name them Poly and Zone.
Create an Is Within Behaviour.
Connect zone.id > isWithin.withinShape.
Create a Color Array.
Add a second index to the array and set a color.
Connect isWithin.id > colorArray.index.
Connect colorArray.id > poly.fillColor.
As you move Poly around, when its pivot is within the Zone Shape its color will change to the second index of your Color Array.
Last updated