Hold Touch Event

Hello dearest community!

I want to make my character stop as long as I hold my finger on the screen at one position. Making him jump when just hitting the screen, and making him move automaticly when I touch nothing.

So far, I´ve done my BP for the automatic running and jumping. But I don´t get how the “hold and release” function can be solved. On the top right section of the picture below you can see what I´ve tried to do.

Any hints?

pj

94a0ef1363e63640179ac57d1fca5bfd8c1e43f8.jpeg

With your touch 1 use the tick event to check that its still touched, if its still touched after a certain length of time than that means its held. You will just want to do an event for release as well then.