ok, here's an example of what i want.

> imagine i have that array in a load event:
Code:
selection=[1, 2, 3, 4]
> now, i want to remove the "2" in it; how can i do that?
> result array after the change:
Code:
selection=[1, 3, 4]
that array will depend on some actions the player do. so how can i use a code to have that result array from the first one i posted? can i use the delete method or something? as far as i know, i can only add/remove values that are located at the first/last place of an array...?

thanks.