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)
Code in the controller object.
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