it is possible to set vissible or not an effect ?
4 example:
create 2 orb
if i press 1mouse will hide / show 1 orb
if i press 2mouse will hide / show second orb
yes, it is possible. change visibility of an object.
and how can i do that ?
maybe some source ? an advice?
Here you can see a default code to create an orb
actions
{
Create Effect(All Players(All Teams), Orb, White, Event Player, 1, Visible To Position and Radius);
}
All Players(All Teams) - is an array of players that are allowed to see the orb. You can use Event Player or even Null to hide from all.
Create the orbs like this (use any variables you like of course):
create effect(value in array(player variable(event player, A), 0), orb, red, *position*, *radius*, visible to position and radius)
create effect(value in array(player variable(event player, A), 1), orb, green, *position*, *radius*, visible to position and radius)
Then you need a rule to toggle them on/off. Example for orb 1:
ongoing - each player
condition:
- is button held(event player, primary fire) == true
action:
- wait(0.25, ignore condition)
- skip if(compare(value in array(player variable(event player, B), 0), ==, 1), 3)
- set player variable at index(event player, B, 0, 1)
- set player variable at index(event player, A, 0, all player(all teams))
- abort
- set player variable at index(event player, B, 0, 0)
- set player variable at index(event player, A, 0, null)
The visibility of the orbs is tied to player variable A[0] and A[1]. In the event that the player presses primary fire (or secondary in a second rule) A[0] (or A[1]) gets set to all players or null.
@Rany
dude u r a genius, u answer my first and second question perfectly
@Shanalotte
Great, u know how to explain issue. 
There is no needs to be genius to share a known information.
Knowledge and experience make it easy enough.
I do it my own way so you can use my tip to make something your way and not only copy-paste without thinking of it deeper.