I'm pretty new to Construct, (well, on and off, mostly off, but getting into Construct again recently) and just trying to get my head around a simple thing. I have looked for tutorials that tackle this, but so far have not found any solutions to my problem. It may something so trivial that no one had taken the time to explain, but I can't seem to make any progress on this.
I have a placeholder at mouse.x, mouse.y. I want to click somewhere above the ground tilemap (game is platformer, side view) and I want to create another sprite where the mouse is, but on the ground, and destroy the placeholder. In other words, X to be still at mouse, but Y to be set wherever the ground tilemap is under the mouse cursor (hope this makes sense)
Obviously x = Mouse.X, Y = Tilemap.Y has not produced the result I wanted, I have tried other things like Tilemap.X + (Mouse.X), (Tilemap.Y) + (Mouse.Y)
Another version is to have "invisible" sprites spread out along the ground and then just spawn the turret at their coordinates, but this isn't something that I really want to do.
Hope you guys understand what I am trying to achieve.