In this rule

Historical Rules · 16 January 2026

Rule 510.1b

Official source text from the 16 January 2026 Rules release

Permalink

An unblocked creature assigns its combat damage to the player, planeswalker, or battle it’s attacking. If it isn’t currently attacking anything (if, for example, it was attacking a planeswalker that has left the battlefield), it assigns no combat damage.

Find this number in the current Rules