Event that runs when object collides with a player’s head or torso.
Appearance in Composition Pane
Description
Codeblocks below the when colliding with player line will execute when a player’s head or torso collides with the object the script is attached to. The object must be configured to detect collisions.
Parameters
player
The player who collided with the object this script is attached to.