# #[Object]

Source: https://help.malighting.com/grandMA3/2.3/HTML/keyword_hashsquarebrackets.html
This is grandocs, an unofficial mirror of MA Lighting documentation. For authoritative or safety-relevant information, cite the canonical page on help.malighting.com.

---
To enter the #\[Object] character in the command line, type **#\[Object]**. 

## Description

The #\[Object] is used instead of object numbers or names in order to address an object. Using #\[Object] makes it unnecessary to update macros or commands if the object was moved or the name of the object was changed.



## Syntax

\[Function] #\[Object "Object\_Name"]

\[Function] #\[Object Object\_Number]

##

## Examples

##

- To set the variable "MyHandle" to the handle of macro 1, type:

|                                                                    |                                                            |
| ------------------------------------------------------------------ | ---------------------------------------------------------- |
| ![](/img/grandma3/2-3/icon_commandline-input_logo_v2-0-59d23e.png) | User name\[Fixture]>SetUserVariable "MyHandle" #\[Macro 1] |