15
objects_standing_on="[]"
19
on_enter_pushed_anim="if(get_object(level, linked_object), fire_event(get_object(level, linked_object), 'button_pressed'))"
20
on_leave_pushed_anim="if(get_object(level, linked_object), fire_event(get_object(level, linked_object), 'button_released'))"
22
on_jumped_on="[animation('pushed'),
23
set(vars.objects_standing_on, vars.objects_standing_on + [jumped_on_by])]"
25
on_process_pushed="[set(vars.objects_standing_on, filter(vars.objects_standing_on, 'obj', obj.standing_on = context.me and (not obj.destroyed) and (not obj.vars.removed_from_play))), if(vars.objects_standing_on.size = 0, animation('normal'))]"
29
image=props/interactive-props.png
36
image=props/interactive-props.png