GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Spawning an actor where you click.

Hudson0911Hudson0911 Posts: 2Member

Sorry for the stupid question, but I am new to Gamesalad, and I was wondering how you would make a certain actor spawn wherever you touch. I have a "spawn area" which is where they can spawn, but how do I make the actor spawn in the exact place that I touch?

Comments

  • Hudson0911Hudson0911 Posts: 2Member

    Never mind I got it sorry just had to make the spawning positions = game.mouse.position.X and game.mouse.position.Y.

  • SocksSocks London, UK.Posts: 12,822Member

    @Hudson0911 said:
    Never mind I got it sorry just had to make the spawning positions = game.mouse.position.X and game.mouse.position.Y.

    Yep! As simple as that. :)

Sign In or Register to comment.