How to spawn gameobject on mouse position

I want to make so that when the player clicks with the mouse, a gameobjects spawn on the currently X,Y of the mouse.

Hi, Gdevelop has examples and starters that cover a lot of basic and advanced mechanics. What you are looking for is here: GDevelop 5

2 Likes

События: Левая клавиша мыши отпущена
-События: Срабатывать один раз
–Действия: Создать объект (Название объекта) в позиции Mouse.X(), Mouse.Y()