How create/setup custom cursor?

How create/setup custom cursor ?

You can create UI Canvas and add UI Control with Image control. Then control lit’s position via Input.MousePosition location.

1 Like

Thanks !


What did I do wrong? My cursor is not moving. The cursor moves by default.

You need to use OnUpdate override to control Visual Script logic on each game update: Visual Scripting | Flax Documentation

Simply use Add Override button and pick that one from there. Then change UI Control position to the mouse location in game view: function Screen.ScreenToGameViewport can convert screen-space mouse position to game viewport coordinates.

Thank you for your help.