Workshop.codes
Create

Set HUD Element Color Last updated March 09, 2025

Description

Changes the color of an existing HUD text or icon element created by a Workshop action, identified by its last created reference. Supports reevaluation. Useful for dynamically reflecting game state through color shifts without recreating the element.

Snippet

Set HUD Element Color(Last Text ID, Color(Red));

Properties

Returns: Void
Parameters: HUD Element, Color

HUD Element
Type: HUD Element, Default: Last Text ID
The HUD element whose color will be changed.

Color
Type: Color, Default: White
The new color to apply to the element. Supports reevaluation.

Workshop.codes