- Home /
Make button be above another button?
I didn't really know how to word my question but here is my problem. I have a pause button which when clicked, brings up a pause menu. I also have a spawner. With the spawner I want to make it so that whenever someone taps the screen, a ball is spawned. I was going to use a transparent button that covers the screen to make the ball spawn but the BallSpawnButton makes the pause button not work because it is over it or something like that. How would I go about this?
Answer by Acid_kenobi · Jul 22, 2017 at 01:57 AM
I seen your other question and you're on the right track. The easiest way would probably be to deactivate it when the pause is active and vice versa.
Do you need to spawn multiple balls or only one?
I need to spawn one whenever someone taps the screen. So yeah multiple if there is multiple taps. I made a script to deactivate it once the pause is active but the spawner still spawns one ball before it gets disabled.
Your answer
Follow this Question
Related Questions
Pause Menu Messes Up Game 1 Answer
need help with locking the camera in Pause Menu 1 Answer
Escape key not working 1 Answer
Pause Menu open/close on key 1 Answer
Pausing the game. Problem 1 Answer