How do I check who used an item?

How do I check which character used the item that triggered a common event?
$gameParty._targetActorId
Control Variables > Game Data > Last (Actor ID to Act).
$gameParty._targetActorId

Control Variables > Game Data > Last (Actor ID to Act).

Thanks for the quick reply.
Oh yeah, I forgot MZ added the last option for variable control. The script call works as well but you might want to use the variable method instead.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-check-who-used-an-item.137126/