User Guide

clickLoc 689
Example
This statement prevents Director from erasing past images of the view from the camera. Models
in motion will appear to smear across the stage.
sprite(1).camera.colorBuffer.clearAtRender = 0
See also
clearValue
clearValue
Usage
member(whichCastmember).camera(whichCamera).colorBuffer\
.clearValue
sprite(whichSprite).camera{(index)}.colorBuffer.clearValue
Description
3D property; specifies the color used to clear out the color buffer if
colorBuffer.clearAtRender is set to TRUE. The default setting for this property is
rgb(0, 0, 0).
Example
This statement sets the clearValue property of the camera to rgb(255, 0, 0). Spaces in the 3d
world which are not occupied by models will appear red.
sprite(1).camera.colorBuffer.clearValue= rgb(255, 0, 0)
See also
clearAtRender
clickLoc
Usage
-- Lingo syntax
_mouse.clickLoc
// JavaScript syntax
_mouse.clickLoc;
Description
Mouse property; identifies as a point the last place on the screen where the mouse was clicked.
Read-only.
Example
The following on mouseDown handler displays the last mouse click location:
-- Lingo syntax
on mouseDown
put(_mouse.clickLoc)
end mouseDown