I tried to make an event but I can’t continue the opération because the panel code don’t run as well
I'm not sure that I understand what's the issue you were referring. Can you please clarify?
So I tried to add custom interaction, then when I tried to add the events OnMouseIn and OnMouseOut, but after that, my code panel can't generate those fontions.
What can I do ?
You should delete it from the properties panel and re-add it. Click here to learn more about it.
I've already delete from the properties and re-add. But my code panel can't generate again...
Can you please send the editor URL so that I can try recreating the issue on my end?