Layout shapes responding to clicks

Can I make a rectangular shape in a layout that reacts to being clicked as well as being dragged? It appears I can only make one that reacts to being dragged, as shapes only use the relayout-data property. Is there any way to get shapes to react to a click?