for (res in Data.get().resources){ if (Std.is(res, Font) && res.name == "Font Name Here") { return cast (res, Font); }}return null;