interaction with 2D lines