The node you are looking for is at fl_set_event_callback().