Add entity with mouse click.