CourseLab CourseLab 3.5. User's Guide Previous topic Next topic

Common Object Properties

Common Object Properties are properties, that belongs to every CourseLab Object. The properties listed below can be used in actions and in text substitutions (OBJ_ID below means current object ID):

Property Returns Syntax
x Current X coordinate of top-left corner of Object's position on the Frame. $OBJ_ID.x
y Current Y coordinate of top-left corner of Object's position on the Frame. $OBJ_ID.y
w Current width of the object in pixels. $OBJ_ID.w
h Current height of the object in pixels. $OBJ_ID.h
startx Initial X coordinate of top-left corner of object's position on the Frame, that was defined in Edit mode. $OBJ_ID.startx
starty Initial Y coordinate of top-left corner of object's position on the Frame, that was defined in Edit mode. $OBJ_ID.starty
startw Initial width of object. $OBJ_ID.startw
starth Initial height of object. $OBJ_ID.starth

 

Note, that initial and current values are exactly the same until any position or size changing action is applied to the object.