Why are my mobile controls not hidden on PC?
Asked Answered
R

2

0

Welcome back, forums!

Just a question: implemented mobile controls in a build, on a canvaslayer with all the button set to Touch Screen Only visibility in the editor and any time I launch them in the test (with Emulate mouse as touch turned off) they still show up on pc. I'm on Godot's last stable 3.x branch. (Yes, I will upgrade once my big project, which is WAY too far for a IDE update and risking craziness), is done.

Recondition answered 10/8, 2023 at 19:2 Comment(0)
A
0

Recondition all the button set to Touch Screen Only visibility

I don't recall that setting. Where is it documented?

Aleida answered 11/8, 2023 at 12:31 Comment(0)
R
0

Aleida it’s just an option in editor. I ended up coding an OS check at start and now they hide on windows just fine. Mainly just trying to hide my touch screen Ui on itch.io when people already have an input (like keyboard and mouse or a controller) as that makes the touch controls pointless.

Recondition answered 11/8, 2023 at 13:39 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.