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

Deproject Viewport To World

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 documentation

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

Guided course

Add this to your free study plan — we’ll suggest related material and stitch it into one compile-checked lesson.

Keep exploring
More in Input & Controls · 16 of 28
Prev
deproject results
Next
gameplay
Browse all files in this folder (A–Z)

Source

Epic Games documentation

View original

Last updated 2026-06-07T11:56:57.949293+00:00

VerseIsland· an archipelago of Verse & UEFN knowledge
🗺️ Island atlasLearnGuidesHistoryAbout & PressSources & LicensingPrivacy PolicyTermsStatus

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