Meta účty už jsou tu: Meta účet si můžete vytvořit i vy a využít ho k přihlašování k zařízením pro VR. Další informace

WHEN OBJECT IS RELEASED BY PLAYER

Event that runs when the object is released by a player.

Appearance in Composition Pane
Description

Commands below when object is released by player will execute when a player holding the object the script is attached to releases it. The command will also execute when a player leaves the world while holding the object.
Parameters

player
The player who released the object.


PREREQUISITE READING

WHEN OBJECT IS GRABBED BY PLAYER precedes this tutorial


Example 1: Set a boolean

In this example, releasing the object sets the holding boolean to false. This would be useful elsewhere in the script when testing holding's state with the if codeblock.

Next Up