document.write("
for i in get_slide_collision_count(): var collision = get_slide_collision(i) var collision_block = collision.get_collider() if collision_block.is_in_group("Blocks") and abs(collision_block.get_linear_velocity().x) < BLOCK_MAX_VELOCITY: collision_block.apply_central_impulse(collision.get_normal() * -PUSH_FORCE)