This is a built-in variable that is part of the instance variables created for every instance of an object in your game. When an instance is part of a sequence, this variable will return true, and when it is not, it will return false. This is a read-only variable and cannot be set.
in_sequence
Boolean
if (!in_sequence)
{
instance_destroy()
}
The above code checks the in_sequence variable, and if it is false (the instance is not part of a sequence) then it will destroy the instance.