In an early version of the game, Sly's cane was originally going to transform into different gadgets. These would've included a spray that revealed invisible lasers and a freeze ray that would be used to trap small enemies in blocks of ice and be used as platforms.
Contributed by Doctor Ink
Video