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

Verse API reference page for the (Player:player).DeprojectViewportToWorld extension

Transforms the given viewport space coordinates into 3D world origin and direction vectors. ViewportPosition is in centimeters: Left is the horizontal coordinate (positive rightward from the top-left corner) and Up is the vertical coordinate (positive upward, negative for points below the top of the screen). Only the Left and Up components are used; Forward is intentionally ignored because depth is unknown at the point of screen interaction — trace the returned ray against scene geometry to determine the world-space hit point at the correct depth.

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

(Player:player).DeprojectViewportToWorld<public><native>(ViewportPosition:vector3):deproject_results

Parameters

DeprojectViewportToWorld takes the following parameters:

Name Type Description
Player player
ViewportPosition vector3

Attributes, Specifiers, and Effects

The following attributes, specifiers, and effects determine how you can interact with DeprojectViewportToWorld 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 · 16 of 27
    Prev
    deproject results
    Next
    getplayerinput
    Browse all files in this folder (A–Z)
    Next up
    • `(Player:player).DeprojectViewportToWorld<public><native>(ViewportPosition:vector3):`[`deproject_results`
    • Attributes, Specifiers, and Effects
    Related topics
    • projectworldtoviewport Input & Controls
    • getviewlocation Player
    • getviewlocation Player
    • getviewrotation Player
    • getviewrotation Player

    Related

    Open in graph →

    Related topics

    • projectworldtoviewport
    • Deproject Results
    • Verse API (module declarations)
    • getviewlocation
    • getviewlocation
    VerseIsland · an archipelago of Verse & UEFN knowledge
    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.