As of my last update in October 2023, law enforcement agencies generally regard "loilcon," which often refers to the online distribution or creation of illegal pornography involving minors (often misspelled as "lolicon"), as illegal in many jurisdictions, particularly in countries like the United States, Canada, the UK, and others.
Some countries may have specific laws regarding the depiction of minors in any sexual context, including drawings