Entity:LookupSequence(Entity, string) shared Lookup the sequence. Arguments entity Entity sequenceName string Returns integer The sequence Examples Entity:LookupSequence – Lookup the sequence.