Right!
An antecedent is a stimulus that cues an organism to perform a learned behavior. When an organism perceives an antecedent stimulus, it behaves in a way that maximizes reinforcing consequences and minimizes punishing consequences.
an·te·ced·ent
noun: a thing or event that existed before or logically precedes another.
adjective: preceding in time or order; previous or preexisting.