I have a type

```
type figure =
{
   what : int;
   position : Point;
   size : Point;
}

```

and i want my function to return this type, however since it's an event it wants to return a unit ()
how can i get my function to return this type instead of unit?

```
let checkInput = 
drawArea.MouseClick.Add(fun args -> 
    if args.Button = MouseButtons.Left then 
        new figure { what = 0; position = new Point(args.X, args.Y); size = new Point(50, 50) })

```

any help on this would be appreciated