SACRAMENTO (CBS13) – All it takes is a dollar and a dream.

But, even if you’re technically broke, we’ve learned you can still cash in on the Mega Millions mania with your state-funded EBT card.

READ MORE: 2 People Shot During Fight In Old Sacramento

“I didn’t know you could do that,” said one lottery hopeful.

Apparently neither did the Lottery Commission, which told CBS13 “no” when we asked.

But the state Department of Social Services, which oversees the welfare program, says yes. So, why the confusion?

READ MORE: Fire Inside Highway 160 Overpass Points To Dangerous Places People Are Making Their Homes

“It’s clear there’s no clarity here regarding the rules about whether EBT cards can be used to buy lottery tickets,” said Jon Coupal of Howard Jarvis Taxpayers Association.

Social Services says while they don’t encourage it, the card acts like a debit card and can be used for cash purposes like buying the Lotto, as long as the retailer accepts it.

There’s also confusion at convenience stores. We called 10 stores around Sacramento and asked if they allowed EBT cards to buy lottery tickets. Three stores told us no; two stores said only if the customer chose the cash back option, while five stores said yes, you can buy a lotto ticket with a swipe of an EBT card.

MORE NEWS: As California's Eviction Ban Ends, Some Protections Remain

“I think it definitely should be used with your hard earned cash. It is, in a sense, gambling. So, I feel that you should work for it,” said Coupal.