Function from module stops running after the script that calls it gets destroyed

im making a right click menu thing and it should delete after you select and option or hover off of it, this works but it also causes whatever function it jsut called to stop running. how do i fix that

1 Like
  • Option 1. make the right click menu fire an event that is referenced elsewhere (that doesnt get deleted), and have that run the function

  • Option 2. learn react … (or fusion)

1 Like