NoveltyML reference > Other > Menu

<Menu>
Creates a menu template that is used when creating interactive menus.

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

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
<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


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


Back to top