VerseIsland
FeedLearnLeaderboardGuidesReferenceExploreSearchDocsVerse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Browse Verse API›Verse Language·Up to Verse API · Verse Language·212 of 542 in Verse Language

Vector2 Length Extension

Returns the length of V.

Verse using statement using { /UnrealEngine.com/Temporary/SpatialMath }

(V:vector2).Length<public>()<reads><computes>:float

Parameters

Length takes the following parameters:

Name Type Description
V vector2

Attributes, Specifiers, and Effects

The following attributes, specifiers, and effects determine how you can interact with Length 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.

Specifiers

Specifier Meaning
public The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data.

Effects

Effect Meaning
reads This effect indicates that the same inputs to the function may not always produce the same output. The behavior depends on factors external to the specified inputs, such as memory or the containing package version.
computes This effect requires that the function has no side effects, and is not guaranteed to complete. There’s an unchecked requirement that the function, when provided with the same arguments, produces the same result. Any function that doesn’t have the native specifier that would otherwise have the converges effect is a good example of using the computes effect.
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 Verse Language · 212 of 542
Prev
length 1
Next
lengthsquared 1
Browse all files in this folder (A–Z)

Source

Epic Games documentation

View original

Last updated 2026-05-14T08:42:24.379999+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