using clamp to set playable area