Limen Framework 0.1 Help

ULimenSelectableMenuButton

Overview

ULimenSelectableMenuButton is a subclass of ULimenMenuButton designed to handle the selection state of a menu button. It provides functionality for setting and checking the button's selected state, as well as broadcasting events when the button is selected or unselected.

Properties

Type

Name

Access

Description

FButtonStyle

ButtonSelectedStyle

EditAnywhere, BlueprintReadOnly

The style to apply when the button is in the selected state.

Functions

Return Type

Signature

Description

void

SetButtonSelectedState(const bool bSelected)

Sets the button's selected state and updates the UI accordingly.

bool

IsButtonSelected() const

Returns whether the button is currently in the selected state.

FReply

OnClicked() override

Handles the click event, toggling the button's selected state.

void

OnHovered() override

Handles the hover event, but only if the button is not selected.

void

OnUnhovered() override

Handles the unhover event, but only if the button is not selected.

Usage & Implementation Notes

  • The button's style can be customized through the ButtonSelectedStyle property.

  • Clicking the button toggles its selected state and broadcasts the appropriate event.

  • Hover events are ignored when the button is selected to prevent unintended behavior.

Properties (Table: Type | Name | Access | Description)

Type

Name

Access

Description

FButtonStyle

ButtonSelectedStyle

EditAnywhere, BlueprintReadOnly

The style to apply when the button is in the selected state.

Functions (Table: Return Type | Signature | Description)

Return Type

Signature

Description

void

SetButtonSelectedState(const bool bSelected)

Sets the button's selected state and updates the UI accordingly.

bool

IsButtonSelected() const

Returns whether the button is currently in the selected state.

FReply

OnClicked() override

Handles the click event, toggling the button's selected state.

void

OnHovered() override

Handles the hover event, but only if the button is not selected.

void

OnUnhovered() override

Handles the unhover event, but only if the button is not selected.

Usage & Implementation Notes

  • The button's style can be customized through the ButtonSelectedStyle property.

  • Clicking the button toggles its selected state and broadcasts the appropriate event.

  • Hover events are ignored when the button is selected to prevent unintended behavior.

22 May 2026