FlaxEngine / FlaxEngine/FlaxEngine

[UI] Sending Data to UI Canvas Event System.

Open
#1,946 0 comments 0 reactions 0 assignees View on GitHub
input question ui
Dominant language
C++
Stars
7k
Forks
713
Avg merge
7d 11h
Merged PRs (30d)
19

Description

**Issue description:**
Attempting to send input data into the canvas event system.

e.g.
Canvas.GUI.MousePosition = MouseCursorScaled;

in this e.g. the MousePosition if read from the GUI is always Float2(0,0).

I need to be able to control the canvas from code as if the canvas is being used. At the current moment, I cannot seem to figure out how
This would be archived, or if it even possible with the current UI system. (dont have access to relevent API calls?)

**Flax version:**
1.6++

Contributor guide

Open the contributing guide

Research direction

Start by tracing the canvas event system and the Canvas.GUI.MousePosition entry point shown in the issue. Determine whether input data can be supplied through the current UI API and document the relevant limitation or supported path; done means code-driven canvas control is established as possible or impossible.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
frontend, game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.