> The code I am trying to replicate in amber is:
> var sphere = BABYLON.Mesh.CreateSphere("", 10, 1, scene);
> CreateSphere is a static method on the Mesh class according to the
> I have tried both:
> (BABYLON at: 'Mesh') CreateSphere: 'jacob' value: 10 value: 1.
> BABYLON Mesh CreateSphere: 'jacob' value: 10 value: 1
> both fail saying that there is no method "CreateSphere". Also if I
> inspect the object returned by BABYLON Mesh it just has 'prototype' and
> 'length' and I get errors if I try to inspect the prototype.
It looks like BABYLON.Mesh is a JS function, in which case it is
captured by Amber class BlockClosure (printit 'BABYLON Mesh class' in
workspace, it should say "BlockClosure"). In that case, it is proper
Smalltalk object which only understand messages defined by its methods.
In case a JS functions works also as a namespace (which is the case of a
JS class and its static properties), you can use #provided helper
message, as in:
P.S.: If there is indeed a problem with inspector failure when you try
to inspect prototype of a BlockClosure, you can fill an issue at
lolg.it/amber/helios. Maybe try if the same happens if you inspect 
(an empty block), so that it is really a generic issue with any
BlockClosure, or it is just something in Mesh.prototype that blows
Helios inspector (I presume you use Helios, not legacy in-page IDE).