Wait are we thinking like MrMailbox did try to move camera with cursor on base layer have buttons on UI layer and mouse on Mouse layer
And now there are different camera actions for base layer and mouse layer
But not for UI layer?
Wait are we thinking like MrMailbox did try to move camera with cursor on base layer have buttons on UI layer and mouse on Mouse layer
And now there are different camera actions for base layer and mouse layer
But not for UI layer?
I suspect buttons on a UI like layer, the mouse and game on another scrolling layer. I could have it wrong, but it is an explanation to why the button click is offset after scrolling.
So basically we have same idea for cause of issue
BUT problem is where exactly buttons should be
Like they should be on on UI layer like settings button
Or are we talking about button like one on TV which is on background layer
Where its either copy actions for camera on UI layer
And/or change position of these buttons
If we’re correct, then it doesn’t matter where the button layer is, it’s not moving while the cursor layer is.
Neither. That would move them off the screen. The trick will be to get the scrolling layer’s offset from when the scene started, use that offset against the cursor position and check if that point is over the button.
Hi! Sorry for taking so long to respond, GDevelop new user stuff :
The button already works and nearly everything is fixed, I wanna say thanks to both of you for helping me with this project of mine.
Thanks guys, yall have been alot of help.