GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeMomentsPlayerFollowEntityStyle

The BlazeMomentsPlayerFollowEntityStyle class represents the complete style configuration for the follow entity component in the moments player. This component displays a user avatar with a follow/unfollow button, allowing users to follow or unfollow entities (i.e., teams, players, properties) associated with the content. The component supports flexible styling that adapts to both followed and unfollowed states.

Properties

isVisible

var isVisible: Boolean

Controls whether the follow entity component is visible in the player.

When false, the entire follow component will be hidden from the UI.

When true, the component will be displayed according to the follow state.

followState

var followState: BlazeMomentsPlayerFollowEntityStateStyle

The style configuration used when the entity is in the followed state.

unfollowState

var unfollowState: BlazeMomentsPlayerFollowEntityStateStyle

The style configuration used when the entity is in the unfollowed state.

entityType

var entityType: BlazeFollowEntityType

The type of entity that this follow component represents. This determines the matching logic and fallback behavior.


Did this page help you?