[squeakland] Is there a way to have typed text be part of a test?

Bert Freudenberg bert at freudenbergs.de
Thu Mar 4 10:32:05 EST 2010


On 04.03.2010, at 16:26, Christine Murakami wrote:
> I am trying to use “test” to see if a item of text (from the supplies bin) overlaps a holder. At which point, if the test is yes, the holder changes color. I know how to do this using a graphic, but don’t want to handwrite the text with the palate. Is there a way to include text in a test?

Using a Text object should work exactly the same as a Sketch. I'm not quite sure what the problem is - can you post a project demonstrating what works with a Sketch but not a Text?

Alternatively you can create a Sketch by grabbing a rectangle of Text from the screen.

- Bert -




More information about the squeakland mailing list