|CounterClockwise|Bool| Whether the items should be arranged clockwise or counter-clockwise in the submenu.
|CounterClockwise|Bool| Whether the items should be arranged clockwise or counter-clockwise in the submenu.
|KeepPosition|Bool| When set, the context menu will stay in the same place as the submenu opens. Otherwise, the context menu will recenter on the user's laser.
|KeepPosition|Bool| When set, the context menu will stay in the same place as the submenu opens. Otherwise, the context menu will recenter on the user's laser.
Line 33:
Line 33:
[[Category:ComponentStubs]]
[[Category:ComponentStubs]]
[[Category:Components|Context Menu Submenu]]
[[Category:Components:Radiant UI:Context Menu{{#translation:}}|Context Menu Submenu]]
[[Category:Components:Radiant UI:Context Menu|Context Menu Submenu]]
[[Category:Components{{#translation:}}|Context Menu Submenu]]
Revision as of 21:00, 3 March 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
Context Menu Submenu component as seen in the Scene Inspector
The ContextMenuSubmenu component can be used in combination with any button component to make said button open a custom context menu when clicked. This is commonly done on avatars, using a RootContextMenuItem as the button, but can also be used on anything else.