The game will consider the selector as a text in a mob's CustomName tag. However it can work elsewhere like tellraw command and block entity data.
/summon minecraft:interaction 94.37 -60.00 -72.27 {CustomName:'{"selector":"@n"}'}
Status:Duplicate
Reporter:Jack
Created:2024-11-09, 05:44 PM
Updated:2024-11-10, 05:09 AM
Resolved:2024-11-10, 05:03 AM
Votes:0
Watchers:1
Confirmation Status:Unconfirmed
Category:(Unassigned)
Labels:
Affects Versions:24w45a
Fix Versions:-