# If

Source: https://help.malighting.com/grandMA3/2.4/HTML/key_if.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.

---
## IfOutput

Pressing If enters the IfOutput keyword into the command line.

|                                                                    |                              |
| ------------------------------------------------------------------ | ---------------------------- |
| ![](/img/grandma3/2-4/icon_commandline-input_logo_v2-0-a59235.png) | User name\[Fixture]>IfOutput |

For more information about IfOutput, see the [IfOutput keyword](/grandma3/2-4/keyword_ifoutput/).

## IfActive

Pressing If If enters the IfActive keyword into the command line.

|                                                                    |                              |
| ------------------------------------------------------------------ | ---------------------------- |
| ![](/img/grandma3/2-4/icon_commandline-input_logo_v2-0-a59235.png) | User name\[Fixture]>IfActive |

For more information about IfActive, see the [IfActive keyword](/grandma3/2-4/keyword_ifactive/).

## IfProg

Pressing If If If enters the IfProg keyword into the command line.

|                                                                    |                            |
| ------------------------------------------------------------------ | -------------------------- |
| ![](/img/grandma3/2-4/icon_commandline-input_logo_v2-0-a59235.png) | User name\[Fixture]>IfProg |

For more information about IfProg, see the [IfProg keyword](/grandma3/2-4/keyword_ifprogrammer/).

## If

Pressing If If If If enters the If keyword into the command line.

|                                                                    |                        |
| ------------------------------------------------------------------ | ---------------------- |
| ![](/img/grandma3/2-4/icon_commandline-input_logo_v2-0-a59235.png) | User name\[Fixture]>If |

For more information about If, see the [If keyword](/grandma3/2-4/keyword_if/).

## EndIf

Pressing If again once the If command is already in the command line enters the EndIf keyword into the command line.

|                                                                    |                                                       |
| ------------------------------------------------------------------ | ----------------------------------------------------- |
| ![](/img/grandma3/2-4/icon_commandline-input_logo_v2-0-a59235.png) | User name\[Fixture]>Store If Group 5 EndIf Preset 1.1 |

For more information about EndIf, see the [EndIf keyword](/grandma3/2-4/keyword_endif/).

Location

If is located in the numeric keys section.

![](/img/grandma3/2-4/button_if_v0-1-641903.png)

_Location on grandMA3 full-size and grandMA3 light consoles​_

---

![](/img/grandma3/2-4/buttons_wings_if_v0-1-5731d7.png)

_Location on grandMA3 compact consoles and grandMA3 onPC command wing_