How to click spawn

i am making a minecraft like-game and i want someone to help me by teaching me how to spawn an item with a mouse click behaviour, like where the object spawns where the mouse clicks at. my rip offish game —> Flowlab Game Creator - A Game (i couldnt think of a name lol)

2 Likes
1 Like

Code in the controller object.

2 Likes

thanks :slight_smile: :DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD

but how can i spawn a selected object only when it is in my hot bar?

you know what i will just try and figure it out