Skip to main content

FoR_GlobalStates

Global states for FusionOnRails.

Properties

InputType

This item only works when running on the client. Client
FoR_GlobalStates.InputType: State<InputType>

A state object containing the current input type.

JumpButtonAbsoluteSize

This item only works when running on the client. Client
FoR_GlobalStates.JumpButtonAbsoluteSize: State<Vector2>

JumpButtonAbsolutePosition

This item only works when running on the client. Client
FoR_GlobalStates.JumpButtonAbsolutePosition: State<Vector2>

The absolute position of the jump button. This value is relative to a gui that is inset.

TopbarInset

This item only works when running on the client. Client
FoR_GlobalStates.TopbarInset: State<Rect>
Show raw api
{
    "functions": [],
    "properties": [
        {
            "name": "InputType",
            "desc": "A state object containing the current input type.",
            "lua_type": "State<InputType>",
            "realm": [
                "Client"
            ],
            "source": {
                "line": 48,
                "path": "src/fusiononrails/src/FusionOnRails/FoR_GlobalStates.lua"
            }
        },
        {
            "name": "JumpButtonAbsoluteSize",
            "desc": "",
            "lua_type": "State<Vector2>",
            "realm": [
                "Client"
            ],
            "source": {
                "line": 59,
                "path": "src/fusiononrails/src/FusionOnRails/FoR_GlobalStates.lua"
            }
        },
        {
            "name": "JumpButtonAbsolutePosition",
            "desc": "The absolute position of the jump button. This value is relative to a gui that is inset.",
            "lua_type": "State<Vector2>",
            "realm": [
                "Client"
            ],
            "source": {
                "line": 67,
                "path": "src/fusiononrails/src/FusionOnRails/FoR_GlobalStates.lua"
            }
        },
        {
            "name": "TopbarInset",
            "desc": "The current topbar inset.\nhttps://create.roblox.com/docs/reference/engine/classes/GuiService#TopbarInset",
            "lua_type": "State<Rect>",
            "realm": [
                "Client"
            ],
            "source": {
                "line": 94,
                "path": "src/fusiononrails/src/FusionOnRails/FoR_GlobalStates.lua"
            }
        }
    ],
    "types": [],
    "name": "FoR_GlobalStates",
    "desc": "Global states for FusionOnRails.",
    "source": {
        "line": 9,
        "path": "src/fusiononrails/src/FusionOnRails/FoR_GlobalStates.lua"
    }
}