N.Y. Vehicle & Traffic Law § 1284
* § 1284. Riding on roadways, shoulders, and lanes reserved for non-motorized vehicles and devices. 1. Upon all roadways, any electric scooter shall be operated either on a usable bicycle or in-line skate lane or, if a usable bicycle or in-line skate lane has not been provided, near the right-hand curb or edge of the roadway or upon a usable right-hand shoulder in such a manner as to prevent undue interference with the flow of traffic except when preparing for a left turn or when reasonably necessary to avoid conditions that would make it unsafe to continue along near the right-hand curb or edge. Conditions to be taken into consideration include, but are not limited to, fixed or moving objects, vehicles, bicycles, in-line skates, pedestrians, animals, surface hazards or traffic lanes too narrow for a person operating an electric scooter and a vehicle to travel safely side-by-side within the lane.