User Guide
555
Example
This statement calls the handler offRightEdge when the right edge of sprite 3 is past the right edge
of the Stage:
if sprite(3).right > (the stageRight - the stageLeft) then offRightEdge
See also
bottom, height, left, locH, locV, top, width
right (3D)
Syntax
member(whichCastmember).modelResource
(whichModelResource).right
modelResourceObjectReference.right
Description
3D property; allows you to get or set the right property of a model resource whose type is #box.
The
right property determines whether the right of the box is sealed (TRUE) or open (FALSE). The
default value is
TRUE.
Example
This statement sets the right property of the model resource Crate to TRUE, meaning the right side
of this box will be closed:
member("3D World").modelResource("crate").right = TRUE
See also
bottom (3D), left (3D), top (3D)
rightIndent
Syntax
chunkExpression.rightIndent
Description
Text cast member property; contains the offset distance, in pixels, of the right margin of
chunkExpression from the right side of the text cast member.
The value is an integer greater than or equal to 0.
This property can be tested and set.
See also
firstIndent, leftIndent
on rightMouseDown (event handler)
Syntax
on rightMouseDown
statement(s)
end