I feel like there are probably too many people just scrolling past this so let’s go through everything that’s going on here.
1. With Roger’s voice actor standing off camera, Bob Hoskins acts into empty air and frantically sawing at his handcuff, continually looking up and down at different visual marks of various depths. Look at the slow pan up of his eyes in gif 4, and then the quick shift to his side. Think about how, on set, he was looking at nothing.
2. Starting in gif 2, The box must be made to stop shaking, either by concealed crew member, mechanism, or Hoskins own dextrousness, as he is doing all of the things mentioned in point 1.
3. In all gifs, Roger’s handcuff has to be made to move appropriately through a hidden mechanism. (If you watch the 4th gif closely you can see the split second where it is replaced by an animated facsimile of the actual handcuff, but just for barely a second.)
4. The crew voluntarily (we know this because it is now a common internal phrase at Disney for putting in extra work for small but significant reward) decided to make Roger bump the lamp and give the entire scene a constantly moving light source that had to be matched between the on set footage and Roger. This was for two reasons, A) Robert Zemeckis thought it would be funnier, and B) one of the key techniques the crew employed to make the audience instinctually accept that Toons coexisted with the live action environment was constant interaction with it. This is why, other than comedy, Roger is so dang clumsy. Instead of isolating Toons from real objects to make it easier for themselves, the production went out of its way to make Toons interact more with the live action set than even real actors necessarily would, in order to subtly, constantly remind the audience that they have real palpable presence. You can watch the whole scene here, just to see how few shots there are of Roger where he doesn’t interact with a real object.
The crew and animators did all of this with hand drawn cell animation without computerized special effects. 1988, we were still five years out from Jurassic Park, the first movie to make the leap from fully physical creature effects to seamlessly integrating realistic computer generated images with live action footage. Roger’s shadows weren’t done with CGI. Hoskin’s sightlines were not digitally altered. Wires controlling the handcuff were not removed in post.
Who fucking Framed Roger fucking Rabbit, folks. The greatest trick is when people don’t realize you’re tricking them at all.