How do I spawn object to mouse position.
System -> Create object (Mouse.X, Mouse.Y)
thx
but let say i wanted spawn object inside an object like cookie clicker, so if i click on the cookie it will get mouse x mouse y and spawn at that point. but if i click outside off the cookie it will not spawn.
Add the condition is overlapping
Mouse on left button clicked
mouse is overlapping cookie
create object
Or
mouse on object clicked cookie
Develop games in your browser. Powerful, performant & highly capable.