Translations:Line drawing function/12/en

Now we define the function that will be executed when a mouse button is pressed in a 3D view. This function will receive an argument that we will call. From this event callback we can access the event object, which contains several pieces of information (more info here).