thanks
Develop games in your browser. Powerful, performant & highly capable.
New functions are named "functions", with an "s".
"Function" is not an existing object in your project, as the message indicates.
construct.net/en/make-games/manuals/construct-3/project-primitives/events/functions