It's an old Function object on your screenshot. You need to use the new Functions (with black icon).
construct.net/en/make-games/manuals/construct-3/project-primitives/events/functions
Develop games in your browser. Powerful, performant & highly capable.
i tried but cant, can u help me for write this code.
i trying to connect dots (tutorial from YouTube)
(youtube tutorial)
(My code)
Instead of Function.Param(0) and Function.Param(1) use the named parameters you defined - TouchX and TouchY. They can be used like normal variables inside the function.