In this rule

Historical Rules · 17 November 2023

Rule 702.19f

Official source text from the 17 November 2023 Rules release

Permalink

If a creature without trample over planeswalkers is attacking a planeswalker, none of its combat damage can be assigned to the defending player, even if that planeswalker has been removed from combat or the damage the attacking creature could assign is greater than the planeswalker’s loyalty.

Find this number in the current Rules