Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

ON THIS PAGE

The pointer object provides information about screen-input devices connected tot he player.

system IDL
[
	GarbageCollected
] interface Pointer {
	Promise<bool> isMousePresent();
	Promise<bool> isMultiTouchPresent();
};

Object Creation

To create a point object, first load the brightsign/pointer module using the Require() method. Then create an instance of the point class.

var pointerClass = require("@brightsign/pointer");
var pointer = new pointerClass();
  • No labels