Is it possible to call a codeless function from custom code block?

I have a custom code block to listen for keypress anywhere on the page (not just inputs). I want to send the keypress values to a codeless function. Is that possible? Or is there a way to implement the listener logic in codeless?

Thank you,
Tim

Hi Tim,

Yes, it is possible. To get the invocation code for a function, open the function and right-click to get the following context menu. When you click the “Copy Invocation Code”, the code is copied into the clipboard and you can use it in your code.

Regards,
Mark

Thank you @mark-piller!

Tim