NoveltyML reference > Other > Menu

<Menu>

A menu template.
Menu templates are used by 'Show interactive menu' actions to build menus with an arbitrary number of options.

Attribute Description Type
name [Required] A unique name for this menu template String

Remarks: Menu will be automatically sized to match the game's resolution.

Any child objects will be rendered behind the buttons.

Child tags Description Count
<Buttons> Button information
1
<Meta> Meta information
1
<Object> Child objects
0 or more


<Buttons>

Button style information

Attribute Description Type
button [Required] Name of a button asset to use String
size Custom button size ("width, height") Vector2
spacing Vertical spacing between buttons in pixels Integer


Example

<Menu name="My menu template">
	<Buttons button="My button" size="640,50" />
</Menu>

Back to top