There are actually tools designed to help you cut paint in around baseboards, ceilings, and more. The tool has small guide wheels and when you place it flat against the edge of the wall the pad that holds the paint will transfer paint onto the wall surface but will get no closer than the guides allow it to. There are also corner shaped tools that help you cut paint into the corners of a room.