when i tried to implement the same thing, i got this.
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/script.rpy", line 3: expected statement.
def callback(event, interact=True, **kwargs):
what it shows is that there's supposed to be something in between "callback" and "(event," and i am wondering what it means... sorry if i sound like a dumbass but i started renpy a few weeks ago.
edit: i'm on ver 8.3.0