• Studio

  • Studio API

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • Globals

    PlayerCharacterController

    Inherits from:

    Properties

    options

    any[]
    ClientAndServer

    Options for the player character controller including enabled state, tap to move, tap handlers, long press settings, tap mask, and character long press configuration. The fields are:

    • enabled (boolean): Whether the player character controller is enabled
    • tapToMoveEnabled (boolean): Whether tap to move is enabled
    • tapHandlersEnabled (boolean): Whether tap handlers are enabled
    • emotesEnabled (boolean): Whether emotes are enabled
    • enableLongPress (boolean): Whether long press is enabled
    • characterLongPress (height = (float), bounceDuration = (float)): The long press configuration

    Methods

    HandleTapOn

    ClientAndServer
    NoSelfParameter

    Handles tap events on colliders at the specified hit point.

    Parameters

    collider

    The collider that was tapped

    hitPoint

    The point where the tap occurred

    Returns

    void

    IsAnchorOccupied

    ClientAndServer
    NoSelfParameter

    Returns true if the given anchor is occupied

    Parameters

    anchor

    The anchor to check

    Returns

    boolean

    True if the anchor is occupied, false otherwise

    Updated about 3 hours ago

    PocketWorlds Icon

    © 2025 Pocket Worlds. All rights reserved.