Arma 3 Scripting

Command in Object Detection

cursorObject

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns the object under cursor. This command is quite different from cursorTarget as it is more precise in determining the boundaries of the pointed at object and can detect a larger variety of objects including map objects and trees.

Syntax

cursorObject

Returns: Object

Examples

Example 1

hint str [getModelInfo cursorObject, typeOf cursorObject];

See also

getCursorObjectParams · cursorTarget · lineIntersects · lineIntersectsWith · lineIntersectsObjs · lineIntersectsSurfaces · intersect · checkVisibility