In some cases, you might don't want to let your players to access Gameball Player Profile widget though the available floating buttons.

Learn more: Brand your Gameball Player Profile widget

Gameball will allow you to do this by following the below:

Choose the inline option in style configurations section in Gameball Admin Dashboard through Profile > Basic Configurations > Profile Style:

Integration Guide

To toggle Gameball Player Profile widget programatically you need to execute GbkSdk.toggle() function call with toggle element click event

For example to toggle the widget upon button click

<button onclick="GbkSdk.toggle()">Click me</button>


  • You can do this in any button on your website to toggle Gameball Player Profile widget
  • Notifications/messages will be received at the same direction configured in Button Direction shown in the screenshot above

Did this answer your question?