render: 'bottom-right' or 'bottom-left').
You can change how it behaves without touching the widget’s HTML.
Its look, the chat window, and the chat history stay exactly as they are.
Every option below is off by default.
With nothing set, the avatar sits where it always has.
Options
Set them in the dashboard
Open your agent, go to Settings → User Interface → Floating avatar, and save. This applies everywhere the agent is installed.Or set them in your embed code
Add alauncher object to VG_CONFIG.
Anything you set here overrides the dashboard for that site only.
JavaScript API
Once the widget has loaded,window.VG_ADMIN.launcher gives you full control from your own scripts.
Events
The widget reports launcher changes on the sameVG_Events event as chat_open and chat_close.
Styling with CSS
These class names are stable and safe to target from your own stylesheet:Prefer the options above over CSS for position and size.
CSS that moves the avatar with
!important will stop dragging and lifting from working.