Is this a bug? Using a touch input (With mouse input on) on a button but nothing is done

127 Views Asked by At

I am using a button to transit to another layer. But I can't transit to that layer. I am using construct 3.

When I click on that button onTouched an object (the object is that button) -> Go to layer (Layer02)

But nothing happens. I am using Touch but I have set the mouse input on. I used other object to try such as text field, and it works. Everything works except when I used button.

Is it a bug? Or I am not doing it right. The variables you see in the picture are for debugging purposes.

These are my events:

Screenshot of my events

1

There are 1 best solutions below

2
AudioBubble On

I think you refer to "transit to another layout" (not layer)

On your screenshot I see all your events are OK. If you add Touch doesn't need add Mouse (you can use the mouse to simulate touch on browser).

I create a new project with the same events and works correctly, I attach a .c3p so you can try it.

https://www.dropbox.com/s/7x1r27rs5a6k5d0/button_layout.c3p?dl=0