The word is "purposely".
Both work.
Only in a fuzzy-brain way. If you actually want to describe intentionality, the word you want is purposely.