Skip to main content
The raise hand feature allows participants to signal that they want to speak or get attention during a call without interrupting the current speaker.

Raise Hand

Show a hand-raised indicator to other participants:
CometChatCalls.raiseHand();

Lower Hand

Remove the hand-raised indicator:
CometChatCalls.lowerHand();

Raise Hand Events

Participant Hand Raised

Fired when a participant raises their hand:
CometChatCalls.addEventListener("onParticipantHandRaised", (participant) => {
  console.log(`${participant.name} raised their hand`);
  // Show notification or update UI
});

Participant Hand Lowered

Fired when a participant lowers their hand:
CometChatCalls.addEventListener("onParticipantHandLowered", (participant) => {
  console.log(`${participant.name} lowered their hand`);
});

Raise Hand Button

Hide Raise Hand Button

To hide the raise hand button from the control panel:
const callSettings = {
  hideRaiseHandButton: true,
  // ... other settings
};

Listen for Button Clicks

Intercept raise hand button clicks for custom behavior:
CometChatCalls.addEventListener("onRaiseHandButtonClicked", () => {
  console.log("Raise hand button clicked");
});