// Called when the pointer enters the object.

onPointerEnter

(

pointer

,

viewport

);

// Called when the was inside of the object and leaves the object.

onPointerLeave

(

pointer

,

viewport

);

// Called while the pointer is over (inside) of the object.

onPointerOver

(

pointer

,

viewport

);

// Called when the object is dragged across the screen, only works if the object has the property draggable set true.

// Delta is the movement of the pointer already translated into local object coordinates.

onPointerDrag

(

pointer

,

viewport

,

delta

);

// Called while the pointer button is pressed.

onButtonPressed

(

pointer

,

viewport

);

// Called when the pointer button is pressed down.

onButtonDown

(

pointer

,

viewport

);

// Called after the pointer button gets released.

onButtonUp

(

pointer

,

viewport

);