Spawn on touch

I dont know if it can be done but how would I set up a rule to get an object to spawn on touch. I need to get an actor to spawn where you tap on screen.

Thank you...

Comments

  • SocksSocks London, UK.Member Posts: 12,822
    edited December 2014

    Place the Spawner on the screen somewhere - or just off the screen hidden if you don't want to see it, or even switch off its visibility.

    In the Spawner place a rule that says:

    when mouse button is down:

    Spawn actor

    x = mouse x

    y = mouse y.

  • Speedy007Speedy007 Member Posts: 229

    Ok...will try that...Thanks

Sign In or Register to comment.