-
I am wanting to have the default cursor visible when in the main menu or game menu but hidden when I resume the game for example. Is it possible to implement it as such? |
Beta Was this translation helpful? Give feedback.
Answered by
AlmasB
Jul 27, 2024
Replies: 1 comment
-
Hi, when customising menus, you can retrieve content root of the relevant scene (e.g. main menu / game menu) and set its cursor to default. For hiding it in the game, you can call: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
iton0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, when customising menus, you can retrieve content root of the relevant scene (e.g. main menu / game menu) and set its cursor to default.
For hiding it in the game, you can call:
getGameScene().setCursorInvisible()