# Boundaries if ship_x < 0: ship_x = 0 elif ship_x + ship_width > get_width(): ship_x = get_width() - ship_width

Here’s a content guide to help you understand and complete the exercise on CodeHS.

// Add keyboard listener onKeyDown(moveShip);