User Guide

right (3D) 957
right
Usage
-- Lingo syntax
spriteObjRef.right
// JavaScript syntax
spriteObjRef.right;
Description
Sprite property; indicates the distance, in pixels, of a sprites right edge from the left edge of the
Stage. Read/write.
Sprite coordinates are expressed relative to the upper left corner of the Stage.
Example
This statement returns the distance of a sprites right edge:
-- Lingo syntax
put(sprite(6).right)
// JavaScript syntax
put(sprite(6).right);
See also
bottom, height, left, locH, locV, Sprite, top, width
right (3D)
Usage
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)