IsObjectOnControl (Main.sc)

IsObjectOnControl(theActor ctlColor)

Tests if the origin of an object is on the control color.

Parameters:
  • theActor (heapPtr) – An Actor object.
  • ctlColor (number) – A control color (such as ctlLIME or ctlWHITE).
Returns:

TRUE if the object is on the control color, FALSE otherwise.