Method: mouseEventsActive

Get / set the flag determining if this entity will respond to mouse interaction or not. When you set a mouse* event e.g. mouseUp, mouseOver etc this flag will automatically be reset to true.
mouseEventsActive (Boolean val)
  • Booleanval The flag value true or false.
Returns * "this" when arguments are passed to allow method chaining or the current value if no arguments are specified.

Set entity to ignore mouse events


Set entity to receive mouse events


Get current flag value

var val = entity.mouseEventsActive();
© Copyright 2013 Irrelon Software Limited. All Rights Reserved. UK Registered Company Number: 07522767
Isogenic (ī´sōjen´ik): Adj originating from a common source; possessing the same genetic composition.
Strange Things Happen at the One Two Point