Verse Library verse

11 Detecting The Player Landing On The Platform

Triggers when a player touches an object. Use to start interactive game mechanics or platform logic.

extracted-snippets/documentation/en-us/uefn/disappearing-platform-on-touch-using-verse-in-unreal-editor-for-fortnite/11-detecting-the-player-landing-on-the-platform.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/uefn/disappearing-platform-on-touch-using-verse-in-unreal-editor-for-fortnite
# Local doc:  epic-docs/documentation/en-us/uefn/disappearing-platform-on-touch-using-verse-in-unreal-editor-for-fortnite.md
# Section:    Detecting the Player Landing on the Platform
OnPlayerTouch(ActivatingPlayer:?agent):void=
if:
Player := ActivatingPlayer?
then:
Print("A player touched a platform!")

Comments

    Sign in to vote, comment, or suggest an edit. Sign in