2D Image Button Properties

2D Image Button properties are managed through the Properties panel. You can view and modify them.

This page discusses:

General

Name
Defines the name of the 2D image button actor.
Enable
Activates or deactivates interactions with the 2D image button actor.
Active
Defines whether or not the actor is active during a playing session.
Notes:
  • The actor's activity depends on the context. If one or more parent actors are inactive in the hierarchy, the actor is also inactive.
  • When the actor is inactive during a playing session, its associated behaviors or scripts are inactive.

Textures

Normal Image
Defines the default image.
Pressed Image
Defines the image that is displayed when you click the 2D image button actor.
Hovered Image
Defines the image that is displayed when you hover over the 2D image button actor.
Disabled Image
Defines the image when the 2D image button actor is not active.
Note: The Enabled property must be cleared.

Rendering

Visible
Shows or hides the text actor.
Opacity
Defines the opacity of the text actor.

Layout

Attachment
Defines the alignment of the text actor (for example center, upper-right or attached to the actor's position).
Offset
Defines the position of the text actor.
Minimum Dimension
Defines the size of the text actor.
Note: Values are in pixels or percent.