# Examples from pyvista.plotting.picking.PickingComponent.enable_point_picking
# ============================================================================

# Enable point picking with a custom message.
import pyvista as pv
pl = pv.Plotter()
_ = pl.add_mesh(pv.Sphere())
_ = pl.add_mesh(pv.Cube(), pickable=False)
pl.enable_point_picking(show_message='Pick a point')

# See Picking points on a mesh for a full example using this method.

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

