show ads only in certain scenes.

Hi, I’ve multiple scenes. currently ads is showing in all scenes. I would like to remove or don’t want to show in one scene ie login scene. Can anyone tell me what’s the best way to do this?

–main.lua–

local ads = require( “ads” )

 ads.show( “banner”, { x=0, y=100000} )

Hi @davidhagen,

Simply don’t use the “ads.show()” call in scenes where you don’t want to show ads. Only use it where you need to show ads.

Best regards,

Brent

Hi @davidhagen,

Simply don’t use the “ads.show()” call in scenes where you don’t want to show ads. Only use it where you need to show ads.

Best regards,

Brent