selectionAperture
layout selectionAperture int numberOfPixels
graphic selectionAperture int numberOfPixels
Description
Creates a selection aperture box around the pointer with the specified number of pixels. A setting of 5 will create a square of 6 by 6 pixels, which includes the center pixel. When a point is clicked the pointer will select the closest object contained within the aperture area. The next click will select the second closest object contained within the aperture area, and so on. Only one object is selected with each click. When no more objects are contained within the aperture area that have not already been selected, the pointer will cycle back to the first object selected. and each subsequent click will repeat the selection order.
GUI Equivalent
Examples
envGetVal("layout" "selectionAperture")
envSetVal("layout" "selectionAperture" 'int 10)
envGetVal("graphic" "selectionAperture")
envSetVal("graphic" "selectionAperture" 'int 10)
Related Topics
Return to top