In this section

Historical Rules · 29 April 2022

Rule 506.3

Official source text from the 29 April 2022 Rules release

Permalink

Only a creature can attack or block. Only a player or a planeswalker can be attacked.

Find this number in the current Rules