Kids could play with Jared Fogle’s pants in an ill-timed online game that was still live on Subway’s website Wednesday — the same day it was alleged the ex-pitchman possessed kiddie porn and solicited minors for sex.

The free “Jared’s Pants Dance” game, which has since been removed from Subway’s kids site, featured a pair of Fogle’s blue jeans which are used to catch sandwiches, bottles of water and other snacks for points.

Fogle allegedly possessed kiddie porn and had sex with minors between 2011 and 2013, according to federal court documents filed Wednesday in Indiana.

Prosecutors alleged at least 12 minors appeared in pornography that Fogle possessed, with two others having participated in sex acts.

Fogle faces five to 12½ years in prison after copping a plea deal to charges of traveling to engage in illicit sexual conduct with a minor and distribution and receipt of child pornography.