Im trying to make the sprite E appear once and once clicked it should dissapear but im having problems

When you walk up to the “granpa” sprite the letter E appears. And im trying to make it so that it appears once and not always

destory and make it spawn the thing instead of message

make a switch turn off after sprite e apperars

the switch wont work with the proximity button

Are you wanting to make it so an e shows up when a player is nearby? Like a chest?

{"data":{"behavior":{"v":"2","nodes":[{"inputCount":2,"outputCount":3,"name":"Proximity","behaviorType":"logic.components.Prox2","x":-180,"y":-112,"group":"","id":"c7e8452853cb2b4a","targetEntityId":0,"threshold":25,"targetClassId":18564199,"nearestOnly":false,"firstObject":true,"allObjects":false,"contains":false,"shape":1,"oX":0,"oY":0,"pin":false},{"inputCount":0,"outputCount":1,"name":"Always","behaviorType":"logic.triggers.Always","x":-360,"y":-112,"group":"","id":"c7e854ff2dec2f40"},{"inputCount":0,"outputCount":2,"name":"Keyboard","behaviorType":"logic.triggers.Keyboard","x":-180,"y":32,"group":"","id":"c7e9166736e8904f","keyCode":69},{"inputCount":2,"outputCount":1,"name":"Logic Gate","behaviorType":"logic.logic.Gate","x":0,"y":32,"group":"","id":"c7e9521db099e741","gateType":"AND"},{"inputCount":1,"outputCount":1,"name":"Destroyer","behaviorType":"logic.components.Destroyer","x":180,"y":32,"group":"","id":"c7e9960601a93e4b"},{"inputCount":1,"outputCount":0,"name":"Message","behaviorType":"logic.components.Message","x":180,"y":112,"group":"","id":"c7e9af301ffcff47","msg":"Hello","route":"SendToSelected","targetClassId":18592509},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":0,"y":-240,"group":"","id":"e64a5e8ab2b8d445","startVal":100,"tag":"","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":0,"y":-144,"group":"","id":"e64a6072ca94c345","startVal":0,"roundMode":1},{"inputCount":4,"outputCount":4,"name":"Label","behaviorType":"logic.hud.Label2","x":180,"y":-208,"group":"","id":"e64a8af258c6694e","text":"E","textColor":10125694,"fontName":"oduda","scale":5,"textAlign":"left","maxWidth":0,"xO":0,"yO":0,"pin":true,"alpha":100,"kerning":0}],"links":[{"input_id":"c7e8452853cb2b4ai1","output_id":"c7e854ff2dec2f40o0"},{"input_id":"e64a5e8ab2b8d445i1","output_id":"c7e8452853cb2b4ao0"},{"input_id":"c7e9521db099e741i0","output_id":"c7e8452853cb2b4ao0"},{"input_id":"e64a5e8ab2b8d445i1","output_id":"c7e8452853cb2b4ao1"},{"input_id":"c7e9521db099e741i0","output_id":"c7e8452853cb2b4ao1"},{"input_id":"e64a6072ca94c345i1","output_id":"c7e8452853cb2b4ao2"},{"input_id":"c7e8452853cb2b4ai1","output_id":"c7e854ff2dec2f40o0"},{"input_id":"c7e9521db099e741i1","output_id":"c7e9166736e8904fo0"},{"input_id":"c7e9521db099e741i0","output_id":"c7e8452853cb2b4ao0"},{"input_id":"c7e9521db099e741i0","output_id":"c7e8452853cb2b4ao1"},{"input_id":"c7e9521db099e741i1","output_id":"c7e9166736e8904fo0"},{"input_id":"c7e9960601a93e4bi0","output_id":"c7e9521db099e741o0"},{"input_id":"c7e9af301ffcff47i0","output_id":"c7e9521db099e741o0"},{"input_id":"c7e9960601a93e4bi0","output_id":"c7e9521db099e741o0"},{"input_id":"c7e9af301ffcff47i0","output_id":"c7e9521db099e741o0"},{"input_id":"e64a5e8ab2b8d445i1","output_id":"c7e8452853cb2b4ao0"},{"input_id":"e64a5e8ab2b8d445i1","output_id":"c7e8452853cb2b4ao1"},{"input_id":"e64a8af258c6694ei1","output_id":"e64a5e8ab2b8d445o0"},{"input_id":"e64a6072ca94c345i1","output_id":"c7e8452853cb2b4ao2"},{"input_id":"e64a8af258c6694ei1","output_id":"e64a6072ca94c345o0"},{"input_id":"e64a8af258c6694ei1","output_id":"e64a5e8ab2b8d445o0"},{"input_id":"e64a8af258c6694ei1","output_id":"e64a6072ca94c345o0"}]}}}
[/details]