
## Act class

Defines custom command names that appear on an object's shortcut menu and specifies the actions that the commands take.

```js
new Act()
```

Constructor.

## Methods

| Name | Description |
| --- | --- |
| [deepClone()](#deepclone) | Creates deep copy of this instance. |
| [getAction()](#getaction) | Contains the formula to execute when a user clicks the command name defined in the corresponding Menu element. |
| [getBeginGroup()](#getbegingroup) | Indicates whether a separator is inserted into the menu above this action. |
| [getButtonFace()](#getbuttonface) | It identifies the icon that appears next to an item on a shortcut menu. |
| [getChecked()](#getchecked) | Determines whether a check mark is displayed beside the command name on a shape's shortcut menu. |
| [getDel()](#getdel) | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| [getDisabled()](#getdisabled) | Disabled element determines whether the command name is displayed on the shortcut menu. |
| [getFlyoutChild()](#getflyoutchild) | Determines whether the action row is a child flyout menu of the last row above it that is not a flyout child. |
| [getID()](#getid) | The unique ID of the element within its parent element. |
| [getInvisible()](#getinvisible) | Invisible element indicates whether the action is visible on the smart tag or shortcut menu. |
| [getIX()](#getix) | The zero-based index of the element within its parent element. |
| [getMenu()](#getmenu) | Specifies the name of the command that appears on the shortcut menu for a shape or page. |
| [getName()](#getname) | The name of the element. |
| [getNameU()](#getnameu) | The universal name of the element. |
| [getReadOnly()](#getreadonly) | Determines whether the action on a smart tag or shortcut menu is read-only. |
| [getSortKey()](#getsortkey) | It specifies a number that determines the order of actions that appear on a shortcut or smart tag menu. |
| [getTagName()](#gettagname) | It contains the name of the smart tag that the action is associated with. |
| [setDel()](#setdel) | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| [setID()](#setid) | The unique ID of the element within its parent element. |
| [setIX()](#setix) | The zero-based index of the element within its parent element. |
| [setName()](#setname) | The name of the element. |
| [setNameU()](#setnameu) | The universal name of the element. |

### deepClone() {#deepclone}

Creates deep copy of this instance.

**Returns:** Object — `Object`

### getAction() {#getaction}

Contains the formula to execute when a user clicks the command name defined in the corresponding Menu element.

### getBeginGroup() {#getbegingroup}

Indicates whether a separator is inserted into the menu above this action.

### getButtonFace() {#getbuttonface}

It identifies the icon that appears next to an item on a shortcut menu.

### getChecked() {#getchecked}

Determines whether a check mark is displayed beside the command name on a shape's shortcut menu.

### getDel() {#getdel}

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

### getDisabled() {#getdisabled}

Disabled element determines whether the command name is displayed on the shortcut menu.

### getFlyoutChild() {#getflyoutchild}

Determines whether the action row is a child flyout menu of the last row above it that is not a flyout child.

### getID() {#getid}

The unique ID of the element within its parent element.

### getInvisible() {#getinvisible}

Invisible element indicates whether the action is visible on the smart tag or shortcut menu.

### getIX() {#getix}

The zero-based index of the element within its parent element.

### getMenu() {#getmenu}

Specifies the name of the command that appears on the shortcut menu for a shape or page.

### getName() {#getname}

The name of the element.

### getNameU() {#getnameu}

The universal name of the element.

### getReadOnly() {#getreadonly}

Determines whether the action on a smart tag or shortcut menu is read-only.

### getSortKey() {#getsortkey}

It specifies a number that determines the order of actions that appear on a shortcut or smart tag menu.

### getTagName() {#gettagname}

It contains the name of the smart tag that the action is associated with.

### setDel() {#setdel}

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

### setID() {#setid}

The unique ID of the element within its parent element.

### setIX() {#setix}

The zero-based index of the element within its parent element.

### setName() {#setname}

The name of the element.

### setNameU() {#setnameu}

The universal name of the element.
