pyvista.Plotter.picked_block_index

pyvista.Plotter.picked_block_index#

property Plotter.picked_block_index[source]#

Return the picked block index.

This returns the picked block index after selecting a point with enable_point_picking.

Returns:
int or None

Picked block if available. If -1, then a non-composite dataset was selected.