It's illegal to jaywalk.
Tyler is walking to the store and is approaching an intersection to cross the street.
Tyler wants to cross the street to reach the store.
Tyler is approaching the intersection crosswalk and continues until he reaches the light to cross the street.
Tyler is approaching the intersection crosswalk and decides to cross the street before it to save walking time.
Tyler crosses the street legally and makes it to the store without issue.
A cop sees Tyler illegally jaywalk and stops him to give a ticket for the crime and Tyler continues to the store.