VerseIsland
Feed Learn Leaderboard Guides Explore Search Docs Verse Library
Sign in
Feed Learn Leaderboard Guides Explore Search Docs Verse Library
Verse API › UI · Up to Verse API · UI · 58 of 119 in UI
Browse Verse API

Verse API reference page for the canvas class

Canvas is a container widget that allows for arbitrary positioning of widgets in the canvas' slots.

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

Inheritance Hierarchy

This class is derived from widget.

Name Description
widget Base class for all UI elements drawn on the player's screen.

Members

This class has both data members and functions.

Data

Data Member Name Type Description
Slots []canvas_slot The child widgets of the canvas. Used only during initialization of the widget and not modified by Add/RemoveWidget.

Functions

Function Name Description
AddWidget Adds a new child slot to the canvas.
GetParentWidget Returns the widget's parent widget. Fails if no parent exists, such as if this widget is not in the player_ui or is itself the root widget.
GetRootWidget Returns the widget that added this widget to the player_ui. The root widget will return itself. Fails if this widget is not in the player_ui.
GetVisibility Returns the current widget_visibility state.
IsEnabled true if this widget can be modified interactively by the player.
RemoveWidget Removes a slot containing the given widget.
SetEnabled Enables or disables whether the player can interact with this widget.
SetVisibility Shows or hides the widget without removing itself from the containing player_ui. See widget_visibility for details.

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 May 14, 2026
    Keep exploring
    More in UI · 58 of 119
    Prev
    anchors
    Next
    addwidget
    Browse all files in this folder (A–Z)
    Next up
    • | [`widget`
    • | [`AddWidget`
    • | [`GetParentWidget`
    • | [`GetRootWidget`
    • | [`GetVisibility`
    • | [`IsEnabled`
    Related topics
    • canvas Ui
    • Canvas Slot Ui
    • Canvas Slot Ui
    • overlay Ui
    • widget Ui

    Related

    Open in graph →

    Related topics

    • canvas
    • Canvas Slot
    • Canvas Slot
    • overlay
    • widget
    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.