selectionMode

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the selectionMode to {intersect | surround}
Summary

Determines which objects are selected when you drag a rectangle with the Pointer tool.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the selectionMode to "intersect"
Values
NameTypeDescription
Value

The selectionMode is either intersect or surround.

RelatedKeyword: intersect
Property: selectGroupedControls, selected
Function: tool
Glossary: object, property
Description

Use the selectionMode property to change the behavior of drag selections.

When you choose the Pointer tool, click in the window, and drag diagonally to select a rectangle, objects within the rectangle are selected. The selectionMode property determines which objects are included inside the dragged rectangle.

If the selectionMode is set to "intersect", all objects that are partially or completely inside the rectangle are selected. If the selectionMode is set to "surround", only objects that are completely inside the rectangle are selected.

Tip: You can also set the selectionMode by choosing Edit ? Intersected Selections from the menubar.