What's the best way to communicate how to located alternate states to a developer?

I’m curious what the most successful way for designers to communicate how to locate hover and selected states, etc to developers that may only exist in a variant that sits off-canvas and only visible when viewing in prototype mode. I’m finding that these things are often being overlooked in the build process.