Cursor (of Object)

class Cursor

Defined in System.sc.

The Cursor class represents an onscreen mouse cursor.

Properties

Inherited from Object:

Property Description
name  

Defined in Cursor:

Property Description
view  
loop  
cel  
x  
y  
hotSpotX  
hotSpotY  
hidden  

Methods

init()

Initializes the cursor and sets it as the active cursor.

posn(x y)

Sets the position of the cursor.

posnHotSpot(theHotSpotX theHotSpotY)

Sets the hotspot of the cursor.

setLoop(theLoop)

Changes the view loop of the cursor.

setCel(theCel)

Changes the cel of the cursor.

showCursor(show)

Shows or hides the cursor.