UI Widget

UIWidget

HUD
Component
Combine:
entity

UI Widget Entity

Properties

Name Type Description Script Name
Active Bool Displayed if on is true, off otherwise Active
Anchor Position Vector3 Anchor coordinates relative to the parent node. AnchorPosition
Width Int Width Width
Height Int Height Height
Angle Float Z-axis rotation angle Angle
String Read Only
(Deprecated, please do not use)
HostHudID_Deprecated
FileID Int Read Only
Internal ID of the widget in the prefab
FileID
Parent UI Custom UI Read Only
UI entity where it is located
ParentUI
Anchor Min Vector2 Anchor Min AnchorMin
Anchor Max Vector2 Anchor Max AnchorMax
Size Delta Vector2 Widget and anchor frame size difference SizeDelta
Pivot Vector2 Pivot Pivot
Depth Int Read Only
Depth
Depth
Int Read Only
(Deprecated, please do not use)
ParentWidgetFileID_Deprecated
Child Index Int Read Only
Order of all children in the same parent node
ChildIndex
Parent Widget Entity ID String Read Only
ParentID
ParentWidgetEntityID
String Read Only
UniqueID
UniqueID
Priority Int Priority Priority
Actual Position Vector3 Actual Position ActualPosition

API

Name Description
Set Widget Parent Set the parent node of the UI widget
Create Custom UI Widget Creating Custom UI Widget