You can create gates different ways, depending on your preference and what other components you want to model at the same time. This task describes how to create a gate by simply assigning an end coordinate.