IgeObject

Method: drawMouseData

Gets / sets the boolean flag determining if this object should have it's extra mouse data drawn for debug purposes. For instance, on tilemaps (IgeTileMap2d) instances, when enabled you will see the tile x and y co-ordinates currently being hoverered over by the mouse.
drawMouseData (Boolean val)
  • Booleanval
Returns *

Enable draw mouse data

var entity = new IgeEntity();
entity.drawMouseData(true);

Disable draw mouse data

var entity = new IgeEntity();
entity.drawMouseData(false);

Get the current flag value

console.log(entity.drawMouseData());
© 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