Touch Over events triggers too Many times

I know this is a very basic question.

When we use events like Touch enter or Cursor over. Then the events gets triggered multiple times.

Is there better way to prevent this?

I mean some sort of settings I don’t know about?

Because, I can use Do once functionality but it kinda mess up my rest of the logic slitghly for reseting.

I am interested in getting some parameters from the actor on touch enter once per actor.

But it returns values/parameter several time for single actor.

When we use events like Touch enter or
Cursor over. Then the events gets
triggered multiple times.

This is not true:

Image from Gyazo

But it returns values/parameter
several time for single actor.

This will not happen under normal circumstances. Place an actor in the level and observe that the event triggers once only. If you’re getting more than one trigger, then you’re performing additional operations we don’t know about.

Can you please also verify it for Touch Begin enter event and let me know.

I feel that I might be wrong about mouse over as mouse acts as a single point and I never really used it

But with Touch input we can’t get exact precise point with our finger So that’s may be the reason for it.

I use gyazo. The free account allows for 7s of footage. They host it, generate a gif link and you post the link. Uploading to AH is a nightmare - that’s why I use it. And it’s a single click to start and you just choose the screen area.

But I was really asking about the script that triggers the undesired behaviour. I totally believe you have it triggering multiple times but I also believe it’s caused by the way things are scripted. So lookimg at a vid of it not working may not help much.

So what is happening on you end? You touch an actor and it prints Hello twice?

Consider it verified. You also have plenty of examples ot it working in the several threads we discussed.

The one event that will trigger multiple times it the physical Hit when one manually allows simulation to generate Hit Events. But his nothing to do with mouse / toucher overs.

If in doubt, post an example of the misbehaving setup. It might be something trivial but it also might be a bug that no one has ever seen before. Who knows.

Okk I will try to resolve it. But What application you use to make small video recording like you shown above. The forum only accept 5.2 mb or less which I am unable to get.

Also Thanks I found the issue. It was because of the timeline I was using before printing it. I used timeline for scaling animation. When lerp over certain value,then print node also get executed several times, Thanks for help.

Edit: I resolved it by separating both execution by sequence node.

Not twice. I was scaling actor by timeline animation. And After scaling node I connect it to print node. And It prints it out like may be 10-20 times.

Its something like this.
The mid Num gets printed latter on with print node through dispatcher.

So I simply added sequence node like this and it resolved my issue.

Scaling factor goes from 1 to 1.2 over 0.20 second