true, default game behavior (drag select is enabled).
false, drag select is disabled. Only the first unit in the rectangle will be selected (closest to the point where you first clicked the mouse).
Note that you can still select multiple units with Shift+Click even if drag select is disabled.
true, render the visual indicator that shows the green rectangular selection area (default). Units, that are not yet selected but are inside the rectangle, have a semi-transparent green circle around them.
false, the green rectangle is not rendered. This has no effect on
state, Drag Select can still work without the visual indicator.
Sets the functionality of the rectangular unit multi-select.
"Drag Select" allows you to hold left-click to select multiple units by expanding the green selection rectangle over the units.
- return type
- Source code
native EnableDragSelect takes boolean state, boolean ui returns nothing