CurrentRow() is a datawindow object expression function and not a powerscript function.
To get current row in an event, you need a datawindow powerscript function:
GetRow()
Additionally in the clicked event, if you want the clicked row there is an argument to the script called row