# SetPhysicsWallTop

## Description

Toggles the existence of a physics wall at the top of the screen to prevent physics objects leaving the screen in that direction. If you have physics objects beyond the edge of the screen, e.g. in a platform game, you should turn this off.
If you change the view offset using SetViewOffset the walls will not move with it, they are fixed to the world, so they will be disabled automatically.

## Definition

SetPhysicsWallTop( mode )

void agk::SetPhysicsWallTop( int mode )

## Parameters

- mode - 0=off, 1=on