VerseIsland
Feed Learn Leaderboard Guides Reference Explore Search Docs Verse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Verse API › Input & Controls · Up to Verse API · Input & Controls · 26 of 27 in Input & Controls
Browse Verse API

Project World To Viewport

Transforms a 3D world position to viewport space coordinates in centimeters. Returns a vector3 where Left is the horizontal viewport coordinate (positive is rightward from the screen's top-left corner) and Up is the vertical viewport coordinate (positive is upward, so a point below the top of the screen has a negative Up). Forward is always 0 because viewport coordinates are 2D. Fails if the world position is behind the camera.

Verse using statement using { /Verse.org/Input }

(Player:player).ProjectWorldToViewport<public><native>(WorldPosition:vector3):vector3

Parameters

ProjectWorldToViewport takes the following parameters:

Name Type Description
Player player
WorldPosition vector3

Attributes, Specifiers, and Effects

The following attributes, specifiers, and effects determine how you can interact with ProjectWorldToViewport in your programs, as well as how it behaves in your programs and UEFN. For the complete list of attributes, specifiers, and effects; see the Specifiers Page.

You're reading a preview

The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.

Sign in with Discord — free for members Read the original at Epic Games

Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.

Comments

    Sign in to vote, comment, or suggest an edit. Sign in
    📄
    Source
    Epic Games

    © Epic Games. Official Epic developer documentation, shown here as a reference with a link to the original. All rights remain with Epic Games. Terms ↗

    View original Sources & licensing
    Request removal
    Last updated Jun 7, 2026
    Keep exploring
    More in Input & Controls · 26 of 27
    Prev
    removeinputmapping
    Next
    ui
    Browse all files in this folder (A–Z)
    Next up
    • `(Player:player).ProjectWorldToViewport<public><native>(WorldPosition:vector3):`[`vector3`
    • Attributes, Specifiers, and Effects
    Related topics
    • deprojectviewporttoworld Input & Controls
    • Verse API (module declarations) Verse Language
    • getlocalforward Verse Language
    • getlocalforward Verse Language
    • getforwardaxis Verse Language

    Related

    Open in graph →

    Related topics

    • deprojectviewporttoworld
    • Verse API (module declarations)
    • getlocalforward
    • getlocalforward
    • getforwardaxis
    VerseIsland · an archipelago of Verse & UEFN knowledge
    🗺️ Island atlas Learn Guides History About & Press Sources & Licensing Status

    Not affiliated with Epic Games. Fortnite, UEFN, Unreal Engine, and Verse are trademarks of Epic Games, Inc. Content is attributed to its source — see Sources & Licensing.

    🦜

    Scout · your island guide

    The Isle of Verse