Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

yes, i know the formula, I just don't know how to write it in gdevelop

Not sure if you found your answer but did you check out this website yet? http://wiki.compilgames.net/doku.php/gdevelop5/all-features/expressions