Skip to main content

TouchConfiguration

All client objects that can be interacted with have a TouchConfiguration configuration object parented inside of their regular configuration. This object holds extra settings relating to what objects are allowed to interact with the client object.

Configuration

NameDefault ValueDescription
playertrueWhen true, the client object can be interacted with by the player.
pushboxtrueWhen true, the client object can be interacted with by Pushboxes.
balloonfalseWhen true, the client object can be interacted with by Balloons.
turretfalseWhen true, the client object can be interacted with by Turret bullets.
colorSpecificfalseWhen true, the part that interacted with the client object must match the color of the client object to be able to interact with it. This does not affect players.
canFlipfalseWhen true, the client object can be interacted with using Corner Flips.
collisionGroupfalseIf set, the CollisionGroup of the interacting object and the client object must match in order to be able to interact with it.
playerHitboxModeStaticWholeBodyIf set, determines what parts of the player can interact with the client object. See the Hitbox Modes section below for more details.

Hitbox Modes

The playerHitboxMode configuration lets you control what parts of the player can interact with the object. These hitboxes ignore animations and as such should be more consistent. A list is provided below.

NameDescription
RootPartHumanoidRootPart only
StaticWholeBodyCharacter's entire body
StaticCenterCharacter's entire body, excluding arms
StaticArmsArms & torso only

There are more hitbox types that include the character's actual limbs, note that these do not ignore animations:

NameDescription
WholeBodyAll limbs
CenterAll limbs, excluding the arms