The '''FocusedWorldStatus''' is a component that only works in the dash space world that displays information about the currently focused world. Is used in the session tab in the dash.
<!--T:2-->
== Intoduction ==
<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|WorldName|String|
|WorldName|String| The name of the currently focused world.
|IsHost|Bool|
|RawWorldName|String| The raw unfiltered name of the currently focused world.
|CanSave|Bool|
|SessionId|String| The session ID of the currently focused world.
|ShouldSave|Bool|
|IsHost|Bool| Whether the user is the host of the focused world.
|CanClose|Bool|
|CanSave|Bool| Whether the user is allowed to save the focused world.
|ShouldSave|Bool| Whether the focused world has unsaved changes or not.
|CanClose|Bool| Whether the focused world can be closed (Is false for the local world).
|RoleName|String| The name of the role that the user currently has in the focused world.
|UserCount|Int| The amount of users currently in the focused world.
|ActiveUserCount|Int| of the users in the focused world, how many are AFK.
|MaxUserCount|Int| The maximum amount of users that can be in the focused world.
|AccessLevel|SessionAccessLevel| The access level of the focused world.
|HideFromListing|Bool| Whether or not the focused world should not be shown in world listings or shown to other users.
|AwayKickEnabled|Bool| Whether the focused world has afk kick enabled.
|AwayKickMinutes|Float| How many minutes till a user can be afk before being kicked from the focused world.
|UnsafeMode|Bool| Whether the focused world is in unsafe mode, which allows for some features to work. Only affects private worlds.
}}
}}
<!--T:4-->
<!--T:4-->
== Behavior ==
== Usage ==
Used in the dash, and isn't utilizable in normal gameplay
Focused World Status component as seen in the Scene Inspector
The FocusedWorldStatus is a component that only works in the dash space world that displays information about the currently focused world. Is used in the session tab in the dash.