# CurrentEnvironment

Source: https://help.malighting.com/grandMA3/2.3/HTML/keyword_currentenvironment.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 CurrentEnvironment keyword in the command line, use one of the options:

- Type **CurrentEnvironment**
- Type the shortcut** CurEnv or Currente**

## Description

The CurrentEnvironment keyword addresses the currently selected environment of the current user - Live or Preview. 

## Syntax

\[Function] CurrentEnvironment (Property \["Property\_Name"] \["Value"])

## Example

- To set the align mode to >< (butterfly) in the current environment, type:

|                                                                    |                                                                      |
| ------------------------------------------------------------------ | -------------------------------------------------------------------- |
| ![](/img/grandma3/2-3/icon_commandline-input_logo_v2-0-59d23e.png) | User name\[Fixture]>Set CurrentEnvironment Property "AlignMode" "><" |