Comparing multiple strings in If
A bit of a noob question here. I'm wanting to check what viewport the user is in using an if statement.
currentView = (viewport.getType() as string)
if currentView == "view_top" then
Which is fine, so I wanted to check if the condition is true for multiple views using:
if currentView == "view_front" or "view_left" then
But it does not work. I've been trying to search how but using "or" within Google search strings isn't that helpful.
Any help would be awesome!