Index | Collapse All Expand All

ShowMenuAt Method
ContextMenu Class Members See Also

Beta Documentation - Subject to change.
Displays the menu.

# Syntax

Lua
    function ContextMenu:ShowMenuAt(x, y);

#### Parameters

x
  Type: number
  The x coordinate to display the menu at.

y
  Type: number
  The y coordinate to display the menu at.

# Remarks

Displays the context menu at the specified position. The menu position will be adjusted to be display on screen if either the bottom or right edge falls off the edge of the screen.If there was a context menu already being displayed, it will first be closed before this menu is displayed.

# See Also

- ContextMenu
- Turbine.UI