Make specific key sticky

I have found that showed me that I can enable sticky keys via

xkbset sticky -twokey

This works as expected, but in my case I’d prefer to only make a specific key (Alt Gr) be sticky instead of all modifier keys. Can this be configured? And if so: Where?

Go to Source
Author: Raven