how do i spawn the position of my GameObject when i click a button within the same scene,how to change the the position of Gameobject when i click the button

please leave solution

Good day.

Go step by step, you are asking a lot of things …

Try to solve and suceed by yourself all this issues:

-Create a Button

-Make a button execute a method

-Instantiate objects

-Instantiate Objects at correct position, correct state, correct everything

-And then try the final step, make a button instantiate a object where and when you want…

But coming here, write 20 words in the title, expecting people to come give you the solution… nah, world is not like people acting like this… world is for people who try try and try

Good luck!