Maybe she was wondering if you are interested in her romantically or would want to date here had she not already been committed to her current boyfriend.
Just give it time, there is no need to really rush into anything. If things don't work out between her and her boyfriend, then just give her space and let her heal or whatever. Better to go look for some other girl to talk to and actually date than her, at least for now, and get back to her later such as when she has healed for some time after her relationship with her current boyfriend did not work out and they had split.
Are you fucking kidding me -.- why the fuck do people keep asking these dumbass questions like, "what does it mean when she passed me a pencil". Like seriously, how are we meant to know what she wants to ask you? Unfortunately I'm not a psychic.