pyvista.Actor.pickable#

property Actor.pickable: bool[source]#

Return or set actor pickability.

Examples

Create an actor using the pyvista.Plotter and then make the actor unpickable.

>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> actor = pl.add_mesh(pv.Sphere())
>>> actor.pickable = False
>>> actor.pickable
False
../../../_images/pyvista-Actor-pickable-1_00_00.png