Transition Not working in my game

Hello everyone, here I added a transition, but it’s not functioning as it should. Could it be that I placed it incorrectly?

transition

Add Trigger once as a condition.
I think your event is executed very often because the button is pressed longer than one frame.

Like this sir?

Yes.
Maybe the ShapePainter object is not in the scene or on the wrong layer?
It works for me.

thank’s for clue sir