Your ball at rest is out of bounds only when all of it is outside the boundary edge of the course.
DIAGRAM 18.2a: WHEN BALL IS OUT OF BOUNDS
A ball is out of bounds only when all of it is outside the boundary edge of the course. The diagrams provide examples of when a ball is in bounds and out of bounds.