You need to add the sprite to a family. Then pick one instance of the sprite and another instance of the family and pin them together.
I suggest using hierarchies instead of Pin behavior. In the editor you can select both instances and add them to a hierarchy, no code required.