How to create mesh out of STL object and apply material

I am trying to apply a different color to a STL model I am loading into Babylon.JS.

The material is not applying and I assume because I have to convert to a Babylon Mesh object first. Here is my code below:

Hello and welcome to the Babylon community!

Your code has a syntax error :slight_smile: