Open Robinnnnn opened 6 years ago
I'm trying to create a 3D panorama experience with some interactive buttons within it.
Is there a way to listen for click events on a <sprite>? Assigning onClick as a prop reveals: Warning: Foreign prop onClick found in sprite.
<sprite>
onClick
Warning: Foreign prop onClick found in sprite
I'm trying to create a 3D panorama experience with some interactive buttons within it.
Is there a way to listen for click events on a
<sprite>
? AssigningonClick
as a prop reveals:Warning: Foreign prop onClick found in sprite
.