These are options that control the behavior of a pointer object and the defaults are:
{
pointers: null,
hideMouse: true,
drag: 0,
xOffset: 0,
yOffset: 0
}
A functuion that returns a number representing the drag force acting on thee whole cursor
A functuion that returns a number representing the offset of the cursor along the x-axis, this can be used to set where the point that does the "pointing" on the cursor is.
A functuion that returns a number representing the offset of the cursor along the y-axis, this can be used to set where the point that does the "pointing" on the cursor is.
A boolean value that determines whether the System cursor is hidden or not
An array of all pointers being used by the cursor
An array of all secondary pointers being used by the cursor
A number in milliseconds representing how long it takes to switch from primary to secondary cursor
Generated using TypeDoc
Class representing a Cursor object.
Remarks
You can have only one Cursor object in a project. The Cursor object houses the various pointer objects you have created, and each of the pointers follow the cursor as a kind of parent
Example