isNegative?

Hey guys, I’m trying to perfect my movement system and so I’m looking for the opposite of “isPositive”,my guess was “.isNegative” but that didn’t work. Any suggestions?

PS: I’ve used the search option btw :wink:

Nevermind I searched again and found it :slight_smile: thanks anyway XD

How about

if not object.isPositive():

?

(Guessing here as well, since I haven’t done game logic in a while)

That’s the method I found, works like a charm :smiley:

Yeah, and the other one is:
if object.isPositive()==0: