How to make click from menu and then appears in game (like Gmod?) or Minecraft

Like you know how in Gmod or in Minecraft you click from the menu and it appears infront of the player? How do you do that. I’m making Garry’s Mod : Xbox 360 Edition. And wondering how to do that? (I got permission dont worry)

1 Answer

1

Maybe you could have a tag for each item that you click on. If the tag is, let’s say “Lamp”, then instantiate a lamp at the mouse position using raycast.